/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.util.Random;

/**
 * <p>Project: javaseapp - If02
 * <p>Powered by webrx On 2021-07-29 14:54:33
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
public class If02 {
    public static void main(String[] args) {
        Random rand = new Random();
        //(if())   (else if())  (else)
        if (rand.nextBoolean()) {
            System.out.println("one");
        } else if (rand.nextBoolean()) {
            System.out.println("two");
        } else if (rand.nextBoolean()) {
            System.out.println("three");
        } else if (rand.nextBoolean()) {
            System.out.println("four");
        } else {
            System.out.println("other");
        }
    }
}
